package com.taihua.spring;

public class User2 {
    private Integer id;
    private String userName;
    private Integer age;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void showUser2(){
        System.out.println("id"+id+"\n"+"username"+userName+"\n"+"age"+age+"\n");
    }
}
